<!DOCTYPE HTML>
<html>
<head>
	<meta charset="utf-8">
	<title>约泡浪呀榜</title>
	<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
	<meta name="apple-mobile-web-app-status-bar-style" content="black" />
	<meta name="format-detection" content="telephone=no" />
	<meta name="format-detection" content="email=no" />
	<meta name="apple-mobile-web-app-title" content="一道走">
	<meta name="description" content="" />
	<meta name="keywords" content="" />
	<link rel="stylesheet" href="src/css/s.min.css">
	<script>
		(function(){
			var phoneWidth =  parseInt(window.screen.width);
			var phoneScale = phoneWidth/640;
			var isAndroid = RegExp("Android").test(navigator.userAgent);
			if (isAndroid) {
				document.write('<meta name="viewport" content="width=640, minimum-scale = '+phoneScale+', maximum-scale = '+phoneScale+', target-densitydpi=device-dpi">');
			} else {
				document.write('<meta name="viewport" content="width=640, user-scalable=no, target-densitydpi=device-dpi">');
			}
		}());
	</script>
</head>

<body class="app" style="width: 100%;background: #FFFFFF;">

<div class="container" style="width: 640px;margin: 0 auto;height: auto;">
	<div class="ranks-wrapper1">
		<!--<a href="#" class="back-btn"></a>-->
		<a href="http://m.yidaozou.com/html/one-day-escape/list.html?city=shanghai" class="more-btn"></a>
		<a class="pro-1" href="http://m.yidaozou.com/html/yidaozou/yapp/calendar-price.html?group_id=1646"></a>
		<a class="pro-2" href="http://m.yidaozou.com/html/yidaozou/yapp/calendar-price.html?group_id=1925"></a>
		<a class="pro-3" href="http://m.yidaozou.com/html/yidaozou/yapp/calendar-price.html?group_id=1774"></a>
		<a class="pro-4" href="http://m.yidaozou.com/html/yidaozou/yapp/calendar-price.html?group_id=1790"></a>
		<a class="pro-5" href="http://m.yidaozou.com/html/yidaozou/yapp/calendar-price.html?group_id=1647"></a>
		<a class="pro-6" href="http://m.yidaozou.com/html/yidaozou/yapp/calendar-price.html?group_id=1643"></a>
		<a class="pro-7" href="http://m.yidaozou.com/html/yidaozou/yapp/calendar-price.html?group_id=1770"></a>
		<a class="pro-8" href="http://m.yidaozou.com/html/yidaozou/yapp/calendar-price.html?group_id=1783"></a>
		<a class="pro-9" href="http://m.yidaozou.com/html/yidaozou/yapp/calendar-price.html?group_id=1744"></a>
	</div>
</div>

<script src="src/js/zepto.min.js"></script>
<script>

	Zepto(function($){

		var getParam = function(name){
			var search = document.location.search;
			var pattern = new RegExp("[?&]"+name+"\=([^&]+)", "g");
			var matcher = pattern.exec(search);
			var items = null;
			if(null != matcher){
				try{
					items = decodeURIComponent(decodeURIComponent(matcher[1]));
				}catch(e){
					try{
						items = decodeURIComponent(matcher[1]);
					}catch(e){
						items = matcher[1];
					}
				}
			}
			return items;
		};

		var isWeixin = function() {
			var ua = navigator.userAgent.toLowerCase();
			if (ua.match(/MicroMessenger/i) == 'micromessenger') {
				return true;
			} else {
				return false;
			}
		};

		if (isWeixin()) {
			var script = document.createElement("script");
			script.src = "http://res.wx.qq.com/open/js/jweixin-1.0.0.js";
			script.onload = function () {
				var wxScript = document.createElement("script");
				wxScript.src = "http://m.yidaozou.com/html/langyabang/src/js/weixin.js";
				wxScript.onload = function () {
					new Weixin().init({
						link: 'http://m.yidaozou.com/html/langyabang/myRanks.html?rank=' + getParam('rank') // 这个地方要根据服务器需要做成绝对路径
					});
				};
				document.head.appendChild(wxScript)
			};
			document.head.appendChild(script)
		}
	})
</script>

</body>

</html>
